package com.atguigu.tingshu.account.client.impl;


import com.atguigu.tingshu.account.client.UserAccountFeignClient;
import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.vo.account.AccountDeductVo;
import com.atguigu.tingshu.vo.account.AccountLockResultVo;
import com.atguigu.tingshu.vo.account.AccountLockVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class UserAccountDegradeFeignClient implements UserAccountFeignClient {

    @Override
    public Result<AccountLockResultVo> checkAndLock(AccountLockVo accountLockVo) {
        log.error("UserAccountDegradeFeignClient的checkAndLock方法，检查锁定账户失败");
        return null;
    }

    @Override
    public Result checkAndDeduct(AccountDeductVo accountDeductVo) {
        log.error("UserAccountDegradeFeignClient的checkAndDeduct方法，检查与扣减账户失败");
        return null;
    }
}
